﻿@using TimeManagementMobile.Resources
@using RS.Web

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title>@Static.ApplicationName</title>
    <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />

    @Styles.Render("~/Content/themes/base/css")
    @RenderSection("styles", required: false)
</head>
<body>
    <div class="page">
        <div class="content">
            @RenderBody()
        </div>
    </div>

    @Html.Partial("_All")

    <div id="actionsOverlay" style="position: fixed; left: 0; top: 0; width: 100%; height: 100%; z-index: 1100; display: none; background: gray; opacity: 0.5"></div>

    @Html.Hidden("BaseUrlHF", BaseConfigurationAccessor.Get("BaseUrl"))
    @Html.Hidden("MobilePushMessagingServiceUrlHF", BaseConfigurationAccessor.Get("MobilePushMessagingServiceUrl"))
    @Html.Hidden("DefaultServerHF", BaseConfigurationAccessor.Get("defaultServer"))
    @Html.Hidden("InDevelopment", BaseConfigurationAccessor.Get("InDevelopment"))
    @Html.Hidden("CurrentCulture", CultureHelper.GetCurrentCulture())
    @Html.Hidden("ImagesUrl", PathHelper.GetCurrentImagesUrl())

    @Scripts.Render(string.Format("~/bundles/all/{0}", CultureHelper.GetCurrentCulture()))
    @RenderSection("scripts", required: false)
</body>
</html>